package com.prs.crm.dao.personalset.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.personalset.PersonalMessageGroupDao;
import com.prs.crm.domain.personalset.PersonalMessageGroup;

public class PersonalMessageGroupDaoImpl extends BaseDaoImpl<PersonalMessageGroup> implements PersonalMessageGroupDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<PersonalMessageGroup> getAllPersonalMessageGroup() {
		Criteria criteria=this.getSession().createCriteria(PersonalMessageGroup.class);
		return criteria.list();
	}

}
